package com.ktwlsoft.archivemanage.payload.role;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Size;

@Setter
@Getter
public class QueryRoleRequest {

    @ApiModelProperty("页码")
    private Integer pn;

    @ApiModelProperty("分页大小")
    private Integer pageSize;

    @ApiModelProperty("角色编码")
    private Long roleId;

    @ApiModelProperty("角色名称")
    @Size(max = 30, message = "角色名称超长")
    private String roleName;
}
